package cn.iocoder.yudao.module.hs.controller.admin.material.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物料信息新增/修改 Request VO")
@Data
public class MaterialSaveReqVO {

    @Schema(description = "物料主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "16698")
    private Long id;

    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "产品码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code;

    @Schema(description = "物料代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String modeCode;

    @Schema(description = "所在仓库", requiredMode = Schema.RequiredMode.REQUIRED, example = "6637")
    private Long warehouseId;

    @Schema(description = "物料箱编码")
    private String boxCode;

    @Schema(description = "托盘编码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String trayCode;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "入库时间")
    private LocalDateTime warehousingTime;

    @Schema(description = "出库时间")
    private LocalDateTime shipTime;

    @Schema(description = "批次号")
    private String batchNo;

    @Schema(description = "工单号")
    private String workOrderNo;

    @Schema(description = "产品码2", requiredMode = Schema.RequiredMode.REQUIRED)
    private String code2;
}